<div class="twelve columns alpha">
    <div class="box">
        <div class="title"><img src="<?=url()?>templates/images/category.png" width="30">Chi tiết rao vặt</div>
        <div class="wrap">
            <div><b>
                <?=$rs->lb_subject?>
                </b></div>
            <div>
                <?=$rs->lb_content?>
            </div>
            <div class="share">
                <ul>
                    <li class="icon-share"> <a href="http://www.facebook.com/share.php?u=http://muaban.trit.vn" target="_blank" style="padding:0 2px;"><img width="19" height="19" src="<?=url()?>templates/images/fb.png"> </a> </li>
                    <li class="icon-share"> <a href="https://plus.google.com/share?href=http://muaban.trit.vn" target="_blank" style="padding:0 2px;"><img width="19" height="19" src="<?=url()?>templates/images/in.png"> </a> </li>
                    <li class="icon-share"> <a href="http://link.apps.zing.vn/pro/view/conn/share?u=http://muaban.trit.vn" target="_blank" style="padding:0 2px;"><img width="19" height="19" src="<?=url()?>templates/images/zm.png"> </a> </li>
                    <li class="icon-share"> <a href="https://twitter.com/intent/tweet?original_referer=http%3A%2F%2F1clickfm.com%2F&amp;source=tweetbutton&amp;text=1clickFM.com%20-%20Music&amp;url=http%3A%2F%2Fssh.vietbuzzad.net%2F" class="twitter-share-button" target="_blank" style="padding:0 2px;"> <img width="19" height="19" src="<?=url()?>templates/images/tw.png"> </a> </li>
                    <li class="icon-share"> <a href="http://www.linkedin.com/cws/share?isFramed=false&amp;lang=en_US&amp;url=http://www.1clickfm.com" target="_blank" style="padding:0 2px;"><img width="19" height="19" src="<?=url()?>templates/images/sh.png"> </a> </li>
                </ul>
            </div>
            <div class="user_info">
                <h3 class="hd" style="text-align:left;">Thông tin người đăng tin</h3>
                <ul class="offset-by-one infouser">
                    <li>Tên đăng nhập : <b>
                        <?=$rs->username?>
                        </b></li>
                    <li>Email : <a href="">Liên hệ với người đăng qua email</a></li>
                    <li>Ðịa chỉ :
                        <?=$rs->address?>
                    </li>
                    <li>Yahoo Chat :
                        <?=$rs->lb_yahoo?>
                    </li>
                    <!--<li>Website : <?=$rs->lb_website?></li>-->
                    <li>Ngày đăng :
                        <?=datevn($rs->dt_create)?>
                    </li>
                    <li>Ngày cập nhật :
                        <?=datevn($rs->dt_modify)?>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="box">
        <div class="title"><img src="<?=url()?>templates/images/category.png" width="30">Tin cùng ngành nghề</div>
        <div class="">
            <ul class="hd">
                <li class="no">Stt</li>
                <li class="subject">Tiêu đề</li>
                <li class="town">Tỉnh/Thành</li>
                <li class="date">Ngày</li>
            </ul>
            <?
				$i = 0;
				foreach($list_cate as $rs):
				$town_name = get_town_name($rs->town_id);
				$i++;
			?>
            <ul class="bd">
                <li class="no">
                    <?=$i?>
                </li>
                <li class="subject"><a href="<?=base_url()?>rao-vat/chi-tiet/<?=$rs->raovat_id?>/<?=kodau($rs->lb_subject).ext?>">
                    <?=str_limit($rs->lb_subject, 90)?>
                    </a></li>
                <li class="town">
                    <?=!empty($rs->town_name)? $rs->town_name : 'tất cả'?>
                </li>
                <li class="date">
                    <?=shortdate($rs->dt_modify)?>
                </li>
            </ul>
            <? endforeach;?>
        </div>
    </div>
    <div class="box">
        <div class="title"><img src="<?=url()?>templates/images/category.png" width="30">Tin cùng người đăng</div>
        <div class="">
            <ul class="hd">
                <li class="no">Stt</li>
                <li class="subject">Tiêu đề</li>
                <li class="town">Tỉnh/Thành</li>
                <li class="date">Ngày</li>
            </ul>
            <?
				$i = 0;
				foreach($list_news as $rs):
				$town_name = get_town_name($rs->town_id);
				$i++;
			?>
            <ul class="bd">
                <li class="no">
                    <?=$i?>
                </li>
                <li class="subject"><a href="<?=base_url()?>rao-vat/chi-tiet/<?=$rs->raovat_id?>/<?=kodau($rs->lb_subject).ext?>">
                    <?=str_limit($rs->lb_subject, 90)?>
                    </a></li>
                <li class="town">
                    <?=!empty($rs->town_name)? $rs->town_name : 'tất cả'?>
                </li>
                <li class="date">
                    <?=shortdate($rs->dt_modify)?>
                </li>
            </ul>
            <? endforeach;?>
        </div>
    </div>
</div>
